package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.api.content.model.vo.TeachplanVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @ClassName: TeachplanApi
 * @Description: TODO
 * @author: 王亚军
 * @date: 2021/12/11  17:01
 */
@Api(value = "课程计划信息管理",tags = "课程计划信息管理")
public interface TeachplanApi {

    @ApiOperation(value = "根据课程id查询课程计划")
    @ApiImplicitParam(name = "courseId",value = "课程id值",required = true,dataType = "Long",paramType = "path")
    TeachplanDTO queryTeachplanById(Long courseId);


    @ApiOperation(value = "创建或修改课程计划")
    @ApiImplicitParam(name = "teachplanVO",value = "VO类",required = true,dataType = "TeachplanVO",paramType = "body")
    TeachplanDTO createOrSetTeachPlan(TeachplanVO teachplanVO);

    @ApiOperation(value = "删除课程计划")
    void delectteachPlant(Long teachPlanId);
}
